/* Estilos */
body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

h1 {
    margin-top: 20px;
}

#searchBar {
    width: 100%;
    max-width: 500px;
    margin: 20px;
}

input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

#categoryFilter {
    width: 100%;
    max-width: 200px;
    padding: 10px;
    border-radius: 5px;
    margin: 10px;
    background-color: #333;
    color: #fff;
}

#channelContainer {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    grid-gap: 20px;
    padding: 20px 0px;
    width: 100%;
    max-width: 1200px;
}

.card {
    background-color: #1f1f1f;
    border: 1px solid #333;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.telegram {
    position: fixed;
    right: 20px;
    bottom: 20px;
    background-color: #1f1f1f;
    border-radius: 50%;
    padding: 10px;
    border: 1px solid #333;
}

.card img {
    width: 100%;
    height: 150px;
    object-fit: contain;
    border-radius: 8px;
}

.card .image {
    height: 150px;
    width: 100%;
    background-image: url('../assets/images/globosp.png');
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}

.card button {
    background-color: #ff5757;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
    display: block;
    width: 100%;
}

.card button:hover {
    background-color: #d94c4c;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 20px;
}

.pagination button {
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px;
    margin: 5px;
    cursor: pointer;
}

.pagination button:hover {
    background-color: #555;
}

/* Modal para assistir canal */
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #1f1f1f;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 800px;
    position: relative;
}

.modal-content iframe {
    width: 100%;
    height: 450px;
    border: none;
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: #ffffff;
    font-size: 24px;
    cursor: pointer;
    background-color: #ff5757;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease, transform 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.close:hover {
    background-color: #d94c4c;
    transform: scale(1.1);
}

#telegramButton {
    position: fixed;
    bottom: 40px;
    right: 10px;
    width: 60px;
    height: 60px;
    cursor: pointer;
}

/* Adicione um contêiner flex para alinhar os elementos horizontalmente */
.filter-container {
    display: flex;
    align-items: center;
    gap: 10px;
    /* Espaço entre o select e o botão */
}

/* Estilo do botão */
.custom-button {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: auto;
    /* Ajusta o botão de acordo com o texto */
    white-space: nowrap;
    /* Impede que o texto quebre em uma nova linha */
}

.custom-button:hover {
    background-color: #218838;
}